uniform mat4 modelviewProjectionMatrix;
uniform mat4 modelviewMatrix;

attribute vec4 position;
attribute vec2 uv;

varying vec3 pos;
varying vec2 ambCoords;

void main()
{
	pos			= (modelviewMatrix * position).xyz;
	ambCoords	= uv;
	gl_Position = modelviewProjectionMatrix * position;
}